package com.irate.provider;

import java.util.TimerTask;

import android.os.Handler;

public class AutoRefresh extends TimerTask{

	protected Handler handler;
	protected Runnable runnable;
	
	public AutoRefresh(Runnable r) {
		handler = new Handler();
		runnable = r;
	}
	
	@Override
	public void run() {
		handler.post(runnable);
	}
	
}
